package com.hc.model.code02.test11;

/**
 * @version v1.0
 * @ClassName: Test
 * @Description: 测试
 * @Author: HC
 */
public class Test {

    public static void main(String[] args) {
        Coffee coffee = CoffeeFactory.createCoffee("latte");
        System.out.println(coffee.getName());
        coffee.addMilk();
        coffee.addSugar();
    }
}
